import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useSettingstore = defineStore('setting', () => {
  const isfold = ref(false)
  const refresh = ref(false)
  const changefold = () => {
    isfold.value = !isfold.value
  }
  const changefresh = () => {
    refresh.value = !refresh.value
  }
  return {
    isfold,
    changefold,
    refresh,
    changefresh,
  }
})
